package com.tbit.uqbike.client.pojo.newEntity;

import java.util.Map;

/**
 * @Author: chen
 * @Description: 维信模板消息推送类
 * @Date: 创建于 10:31 2022/7/22
 */
public class WeiXinModelData {

    /**
     * 调用微信的token
     */
    private String accessToken;
    /**
     * 发送给对应的用户的openid
     */
    private String toUser;
    /**
     * 模板id
     */
    private String template_id;
    /**
     * 小程序跳转页
     */
    private String page;
    /**
     * 附加参数
     */
    private Map<String, String> map;

    public WeiXinModelData() {
    }

    public WeiXinModelData(String accessToken, String toUser, String template_id, String page,
                           Map<String, String> map) {
        this.accessToken = accessToken;
        this.toUser = toUser;
        this.template_id = template_id;
        this.page = page;
        this.map = map;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    @Override
    public String toString() {
        return "WeiXinModelData{" +
                "accessToken='" + accessToken + '\'' +
                ", toUser='" + toUser + '\'' +
                ", template_id='" + template_id + '\'' +
                ", page='" + page + '\'' +
                ", map=" + map +
                '}';
    }
}
